package com.jshan.blog.service;

import com.jshan.blog.base.admin.dto.MenuListDto;
import com.jshan.blog.base.admin.entity.SysMenu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
* @author jshan
* @description 针对表【sys_menu】的数据库操作Service
* @createDate 2025-01-20 16:42:14
*/
public interface SysMenuService extends IService<SysMenu> {

    List<MenuListDto> findMenuAll(String type);

    void updateMenuInfo(MenuListDto menuListDto);

    List<Map<Integer, String>> getPartMenuList();

    Boolean saveMenuInfo(MenuListDto menuListDto);

    List<Integer> getIds(Integer roleId);

    Set<String> getPermAll();

    Set<String> getBatchIds(Set<Integer> menuIds);
}
